package com.cssw.fyzb.job.executor.util;

/**
 * @author Feng Chen
 */
public class StringUtil {

    public static boolean isNotEquals(String s, String o) {
        return !isEquals(s, o);
    }

    public static boolean isEquals(String s, String o) {
        if (s == null || o == null) {
            return false;
        } else {
            return s.equals(o);
        }
    }

    public static boolean isNotEmpty(String str) {
        return !isEmpty(str);
    }

    public static boolean isEmpty(String str) {
        return str == null || str.trim().length() == 0;
    }


}
